package com.lezhi.socialgram.model.moments;

/**
 * Created by daizhen on 2017/4/1.
 */
public class Media {
    private String imageUrl;

    private String videoUrl;

    private Integer mediaType;

    private Double height;

    private Double width;

    public Media() {
    }

    public Media(String imageUrl, String videoUrl, Integer mediaType, Double height, Double width) {
        this.imageUrl = imageUrl;
        this.videoUrl = videoUrl;
        this.mediaType = mediaType;
        this.height = height;
        this.width = width;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public Integer getMediaType() {
        return mediaType;
    }

    public void setMediaType(Integer mediaType) {
        this.mediaType = mediaType;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    @Override
    public String toString() {
        return "Media{" +
                "imageUrl='" + imageUrl + '\'' +
                ", videoUrl='" + videoUrl + '\'' +
                ", mediaType=" + mediaType +
                ", height=" + height +
                ", width=" + width +
                '}';
    }
}
